<script>
{% set entity = { 'parent': 'CtInfo' } %}
{% set ignore = [ 'university' ] %}
{% render "AcmeSecurityBundle:JsValidator:jsConstraintsGenerator" with { 'form': form, 'options': { 'entity': entity, 'ignore': ignore } } %}
</script>
<form class="form-horizontal" id="{{ form.vars.id }}" {{ form_enctype(form) }}>
	{{ form_row(form.name) }}
	{{ form_row(form.contestType) }}
	
	{% if is_granted('ROLE_SUPER_ADMIN') %}
	{{ form_row(form.university) }}
	{% endif %}
	
	{{ form_row(form.applyBy) }}
	
	{{ form_rest(form) }}
</form>